package com.ctgu.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 角色表
 * </p>
 *
 * @author yiMa
 * @since 2023-07-05
 */
@Getter
@Setter
  @ApiModel(value = "Role对象", description = "角色表")
public class Role implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

      @ApiModelProperty("角色权限字符串")
      private String roleKey;

      @ApiModelProperty("角色状态（0正常 1停用）")
      private String status;

      @ApiModelProperty("del_flag")
      private Integer delFlag;

    private Long createBy;

    private LocalDateTime createTime;

    private Long updateBy;

    private LocalDateTime updateTime;

      @ApiModelProperty("备注")
      private String remark;


}
